<?php
/* -------------------------------------------------------------------------------------
* 	ID:						$Id: inc.parse_parameter_list.php 534 2015-02-28 11:46:27Z phone.mueller@googlemail.com $
* 	Letzter Stand:			$Revision: 534 $
* 	zuletzt geaendert von:	$Author: $
* 	Datum:					$Date: 2015-02-28 11:46:27 +0000 (Sat, 28 Feb 2015) $
*
* 	itdotmedia by dirk mueller co edv-mueller.com
* 	http://www.itdotmedia.de
* 	http://www.edv-mueller.com
*
* --------------------------------------------------------------------------------------
* 	based on:
* 	(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
* 	(c) 2002-2003 osCommerce - www.oscommerce.com
* 	(c) 2003     nextcommerce - www.nextcommerce.org
* 	(c) 2005     xt:Commerce - www.xt-commerce.com
* 	(c) 2011     SEO:mercari - www.seo-mercari.de
*
* 	Released under the GNU General Public License
* ----------------------------------------------------------------------------------- */
	function parse_parameter_list($param_string) {
		$ret = array();
		$its = explode('|', $param_string);
		foreach($its as $it) {
			list($k, $v) = explode('=', $it);
			$ret[$k] = str_replace('~', '=', $v);
		}
		return $ret;
	}
